<html>
<head>
  <link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>The Inline Method refactoring replaces method caller(s) with a method body.</p>
<p>You can opt to:
<ul>
  <li>inline all occurrences of the method, and delete the method
  <li>inline only a single occurrence, and retain the method
</ul>
</p>

<p>In order to invoke the refactoring, move the cursor over the method caller and press <span class="shortcut">&shortcut:Inline;</span> (<span class="control">Refactor | Inline... </span>):</p>
<p class="image"><img src="images/inline_method_1.png"></p>
<p>This will result in the following:</p>
<p class="image"><img src="images/inline_method_2.png"></p>
</body>
</html>


